package com.bowlong.third.jsoup;

import java.io.File;
import java.io.IOException;
import java.net.URL;

import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;

public class JsoupEx {
	public static final Document parse(File fn, String charset)
			throws IOException {
		return Jsoup.parse(fn, charset);
	}

	public static final Document parse(URL url, int timeoutMillis)
			throws IOException {
		return Jsoup.parse(url, timeoutMillis);
	}

	public static final Document parse(String text) {
		return Jsoup.parse(text);
	}
}
